package com.yiren.dbaa.module.exam.bean.record;

import com.yiren.backstage.currency.entity.ProjectEntity;

import java.util.List;

/**
 * Created by WANGRONGXIANG
 * on 2022/5/16
 * Describe 正在执行的项目点位模型
 */
public class ExecutingPointBean {

    /*** 唯一id（取系统时间） */
    private long id;
    /*** 执行的项目 */
    private ProjectEntity project;
    /*** 项目移动信息 */
    private List<CarRecordPointBean> beans;
    /*** 项目上传状态 true：已上传 false：未上传 */
    private boolean isUpload;
    /*** 项目修改状态 true:修改 false:未修改 */
    private boolean isModify;

    public ExecutingPointBean(ProjectEntity project, List<CarRecordPointBean> beans) {
        this.id = System.currentTimeMillis();
        this.project = project;
        this.beans = beans;
        isUpload = false;
        isModify = false;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public ProjectEntity getProject() {
        return project;
    }

    public void setProject(ProjectEntity project) {
        this.project = project;
    }

    public List<CarRecordPointBean> getBeans() {
        return beans;
    }

    public void setBeans(List<CarRecordPointBean> beans) {
        this.beans = beans;
    }

    public boolean isUpload() {
        return isUpload;
    }

    public void setUpload(boolean upload) {
        isUpload = upload;
    }

    public boolean isModify() {
        return isModify;
    }

    public void setModify(boolean modify) {
        isModify = modify;
    }
}
